
const module = {
  state: {
    baseConfig: null,

  },
  mutations: {
    SET_BASECONFIG: (state, data) => {
      console.log(11111111)
      state.userInfo = data
    },
   
  },
  actions: {
    setBaseConfig: ({ commit }, data) => {
      return new Promise((resolve, reject) => {
        try {
          commit('SET_BASECONFIG', data)
          resolve()
        } catch (error) {
          reject(error)
        }
      })
    },
   
  }
}
export default module
